WPForms\Integrations\Stripe\Process D

Total Complexity 154
Dependencies 5
Dependents 1
Total lines 1,161
Lines of code 521
Logical lines of code 305
Comment lines 402
Methods 33
Properties 9

Methods 33

Method Rating Maintainability Complexity Lines of code
process_payment_single()
B
44 17 37
process_payment_subscription()
A
49 10 31
prepare_payment_meta()
A
48 9 32
is_submitted_payment_data_corrupted()
A
48 8 33
update_credit_card_field_value()
A
55 8 16
is_card_field_visibility_ok()
S
57 7 17
get_entry_errors()
S
57 7 16
process_email()
S
57 6 18
is_recurring_settings_ok()
S
58 6 15
display_error()
S
58 6 15
process_entry()
S
52 5 26
process_payment_saved()
S
47 4 38
map_address_field()
S
55 5 19
process_legacy_payment_subscription()
S
58 5 14
prepare_payment_data()
S
55 4 19
get_customer_email()
S
60 4 14
process_card_error()
S
62 4 12
process_api_error()
S
58 3 17
is_process_entry_error()
S
63 4 10
process_payment()
S
64 4 10
process_entry_data()
S
59 3 15
log_error()
S
59 3 14
get_payment_title()
S
65 3 11
get_customer_name()
S
63 3 11
get_payment_type()
S
66 3 9
process_subscription()
S
63 3 10
is_subscription_plan_valid()
S
78 2 3
is_api_errors()
S
66 2 9
bypass_captcha()
S
73 2 6
is_rate_limit_ok()
S
81 1 3
hooks()
S
62 1 10
get_base_subscription_args()
S
68 1 7
init()
S
77 1 4